import java.util.ArrayList;
import java.util.List;

/**
 * Created by maizhipeng on 2017/5/29.
 */

public class Node {
    private Node left;
    private Node right;

    public Node(Node left, Node right) {
        this.left = left;
        this.right = right;
    }

    public Node() {
    }

    private List<Character> operations = new ArrayList<>();
    private char mChar;

    public void setChar(char c) {
        mChar =c;

    }

    public void addOperation(char c) {
        operations.add(c);
    }


    public List<Character> getOperations() {
        return operations;
    }

    public void setLeft(Node left) {
        this.left = left;
    }

    public void setRight(Node right) {
        this.right = right;
    }

    public boolean match(String content){
        if(left==null){

        }

        return false;
    }
}
